﻿@{
    ResponseDto resDto = (ResponseDto)ViewData["model"];
}

<div style="text-align: center;padding-top: 100px;">
    <label>@resDto.ErrMsg</label>
    <input id="pwd" placeholder="请输入解压密码" />
    <button>继续预览</button>
</div>
<script src="/lib/jquery/dist/jquery.min.js"></script>
<script>
    $("button").on("click", function() {
        window.location.href = 'preview?url=@resDto.FileInfo.Path&password=' + $("#pwd").val();
    });
</script>
